package com.hezhiqin.netty.rpc.provider;

import com.hezhiqin.netty.rpc.api.IRpcService;

/**
 * @program: homeWork
 * @description:
 * @author: hezhiqin
 * @create: 2019-12-28 14:19
 */
public class RpcService implements IRpcService {
    public int add(int a, int b) {
        return a+b;
    }

    public int sub(int a, int b) {
        return a-b;
    }

    public int mult(int a, int b) {
        return a*b;
    }

    public int div(int a, int b) {
        return a/b;
    }
}
